#!/usr/bin/env python
# -*- coding:utf-8 -*-
import time
import datetime
print time.strftime('%Y-%m-%d %H:%S')
#2015-11-29 15:42
print time.strptime("2015-9-19 19:33","%Y-%m-%d %H:%S")
#time.struct_time(tm_year=2015, tm_mon=9, tm_mday=19, tm_hour=19, tm_min=0, tm_sec=33, tm_wday=5, tm_yday=262, tm_isdst=-1)

t= time.strftime('%Y-%m-%d %H:%S')
time.mktime(t)

datetime.datetime.now() + 